package com.example.service.impl.login;

import com.example.bean.login.TUserInfo;
import com.example.mapper.login.LoginMapper;
import com.example.service.login.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    LoginMapper loginMapper;

    @Override
    public TUserInfo loginUser(TUserInfo tuser) {
        return loginMapper.loginUser(tuser);
    }

    @Override
    public Integer editPassword(TUserInfo user) {
        return loginMapper.editPassword(user);
    }
}
